import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
//组件库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//antd
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';

import App from './App.vue'
import router from './router'

const app = createApp(App)
//仓库
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
//
app.use(pinia)
//组件库
app.use(ElementPlus)
//antd
app.use(Antd)
//
// app.use(createPinia())
app.use(router)

app.mount('#app')
